// import { get, post } from '@/utils/request'

// export const blockDataAdd = (query) => {
//   return post('/block/data/saveOrUpdateBatch', query)
// }
import { get, post } from '@/utils/request'
// 内容列表接口
export const cmsContent_list = (query) => {
  return get('/admin/cmsContent/list', query)
}
// 内容详情
export const cmsContent_queryById = (query) => {
  return get('/admin/cmsContent/queryById', query)
}
// 内容增加
export const cmsContent_add = (query) => post('/admin/cmsContent/add', query)
// 内容编辑
export const cmsContent_edit = (query) => {
  return post('/admin/cmsContent/edit', query)
}
export const cmsContent_delete = (query) => {
  return get('/admin/cmsContent/delete', query)
}
// 系统通知
export const sysList = (query) => get('/en/message/sys/list', query)
export const leavingNewsDelete = (query) => get('/leavingNews/delete', query)
export const leavingNewsCount = (query) => get('/leavingNews/getNotReadCount', query)
export const leavingNewsAdd = (query) => post('/leavingNews/add', query)

// 招聘消息
export const enMessageList = (query) => get('/en/message/message/list', query)
export const enMessageList2 = (query) => get('/en/message/list', query)
export const enMessageDelete = (query) => get('/en/message/delete', query)
export const enMessageCount = (query) => get('/en/message/getNotReadCount', query)
export const enMessageEdit = (query) => post('/en/message/edit', query)
// 投递记录
export const getOne = (query) => {
  return get('/en/opDeliveryHistory/queryById', query)
}
